package examples.mr;

import org.apache.commons.logging.Log;
import org.apache.commons.logging.LogFactory;
import examples.computations.Smaller;

import mr.diff.MRDiffHelper;
import util.Int;
import util.IntList;

public class TestSmaller extends MRDiffHelper<Int, Int, IntList> {

	public static final Log LOG = LogFactory.getLog(TestSmaller.class);

	@Override
	public void createAccuOp( ) {
		//instance a diffusion computation
		diff = new Smaller(new Int(9));
	}
 
	public static void main(String[] args) throws Exception {
		
		if (args.length >= 2) {
			int res = runDiffMR( new TestSmaller(), args);
		    System.exit(res);
		}
	}
}
